libxl: make libxl_device_pci_{add,remove,destroy} interfaces asynchronous
authorIan Campbell <ian.campbell@citrix.com>
Fri, 3 Aug 2012 08:54:03 +0000 (09:54 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Aug 2012 08:54:03 +0000 (09:54 +0100)
commit6e6a6f3614b2451d5430836b4aa2d33b76a2d1b9
tree9b2a550f25adb4cf57d665c8e2f81035801fbb91
parente50c91ab1a922304ab0b2af20981c0994b3a7840
libxl: make libxl_device_pci_{add,remove,destroy} interfaces asynchronous

This does not make the implementation fully asynchronous but just
updates the API to support asynchrony in the future.

Currently although these functions do not call hotplug scripts etc and
therefore are not "slow" (per the comment about ao machinery in
libxl_internal.h) they do interact with the device model and so are
not quite "fast" either. We can live with this for now.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_pci.c
tools/libxl/xl_cmdimpl.c
tools/ocaml/libs/xl/xenlight_stubs.c
tools/python/xen/lowlevel/xl/xl.c